package com.loong.life.common.forehead.param;

import lombok.*;

import javax.validation.constraints.Pattern;

/**
 * @Description:
 * @Author: LiuQun
 * @Date: 2020/11/27 15:50
 */
@Builder
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class PhoneNumberForeheadParam {

    /**
     * 手机号码：必须是以0开头的11位数字
     */
    @Pattern(regexp = "^0[0-9]{10}$")
    private String phoneNumber;
}
